<?php
namespace app\admin\model;
use think\Model;

class Area extends Model
{
    public function city(){
        return $this->belongsTo('City','cid','id');
    }
    // 开启自动写入时间戳字段
    //protected $autoWriteTimestamp = false;
    // 定义时间戳字段名
    //protected $createTime = false;
    //protected $updateTime = false;

}
